#!/bin/bash

# turn off the screen of laptop
# to know what you can have instead eDP1 jusy paste this
# xrandr
xrandr --output eDP1 --off

# set the second screen
xrandr --output DP1 --mode 1920x1080

# update window manager
i3-msg restart
